//
//  EventThumbViem.h
//  lvtu
//
//  Created by Apple on 12-7-2.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TripInfo.h"

@protocol EventThumbViemProtocol <NSObject>

//图片点击处理代理方法
- (void)delButtonPressed:(PlaceInfo*)info;

@end

@interface EventThumbViem : UIView
{
    PlaceInfo* _info;
    UIButton* delButton;
    id<EventThumbViemProtocol>delegate;
}

@property (nonatomic,assign) id<EventThumbViemProtocol>delegate;

- (id)initWithFrame:(CGRect)frame Data:(PlaceInfo*)info;
- (void)setViewType:(BOOL)canEdit;
@end
